import { computed, defineComponent } from "vue";
import EchartVue from "../Echart.vue";
import { option } from "./util";

const Pie3d = defineComponent({
  name: "Pie3d",
  inheritAttrs: false,
  setup() {
    const option = computed(() => {
      return getPie3d();
    });
    return () => <EchartVue option={option.value} />;
  },
});

export default Pie3d;

function getPie3d() {
  return option;
}
